﻿using FreeSql;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;

namespace Web.Api.Server.Models
{
    public class ApplicationDbContext : DbContext
    {
        public DbSet<User> Users { get; set; }

        public DbSet<Shop> Shops { get; set; }

        public DbSet<GoodsCategory> GoodsCategories { get; set; }

        public DbSet<Goods> GoodsSet { get; set; }

        public DbSet<Cart> Carts { get; set; }

        public DbSet<Address> Addresses { get; set; }

        public DbSet<Order> Orders { get; set; }

        public DbSet<OrderDetail> OrderDetails { get; set; }


        public DbSet<Image> Images { get; set; }
    }
}
